package com.yt.base.dao.impl;

import com.yt.base.dao.AclUserDao;
import com.yt.base.model.AclUser;
import com.yt.core.dao.GenericDaoImpl;

/**
 * Created by liujunshi on 15-1-28.
 */
public class AclUserDaoImpl extends GenericDaoImpl<AclUser, Long> implements AclUserDao {
	
	public AclUserDaoImpl() {
		setNameSpace("com.dayima.nose.model.user");
	}

	@Override
	public AclUser findByName(String name) {
		return getSqlSession().selectOne(getNameSpace() + ".findByName", name);
	}

}
